package cn.iocoder.yudao.module.course.controller.admin.courses.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 课程分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CoursesPageReqVO extends PageParam {

    @Schema(description = "课程标题")
    private String title;

    @Schema(description = "课程描述", example = "随便")
    private String description;

    @Schema(description = "课程类别", example = "27902")
    private Long categoryId;

    @Schema(description = "封面图片路径")
    private String coverImage;

    @Schema(description = "行锁版本号")
    private Integer version;

    @Schema(description = "组归属部门（当前新增用户所在的部门）", example = "9238")
    private Long deptId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}